<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>程序猿4399 - 首页</title>
  <style>
    body { margin: 0; font-family: 'Segoe UI', 'PingFang SC', Arial, sans-serif; background: #f4f6fa; }
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #222e3c;
      padding: 0 24px;
      height: 56px;
      color: #fff;
    }
    .navbar .logo { font-size: 1.4em; font-weight: bold; letter-spacing: 2px; }
    .navbar ul {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    .navbar li {
      margin: 0 12px;
    }
    .navbar a {
      color: #fff;
      text-decoration: none;
      font-size: 1em;
      padding: 8px 12px;
      border-radius: 4px;
      transition: background 0.2s;
    }
    .navbar a:hover, .navbar a.active {
      background: #3a4a5d;
    }
    @media (max-width: 700px) {
      .navbar { flex-direction: column; align-items: flex-start; height: auto; }
      .navbar ul { flex-direction: column; width: 100%; }
      .navbar li { margin: 6px 0; }
    }
    .main-content { max-width: 900px; margin: 40px auto; background: #fff; border-radius: 10px; box-shadow: 0 2px 8px #0001; padding: 32px; }
    .join-community {
      margin-top: 32px;
      text-align: center;
    }
    .join-btn {
      background: #2e8bff;
      color: #fff;
      border: none;
      padding: 12px 28px;
      border-radius: 6px;
      font-size: 1.1em;
      cursor: pointer;
      transition: background 0.2s;
    }
    .join-btn:hover { background: #1766c2; }
  </style>
</head>
<body>
  <nav class="navbar">
    <div class="logo">程序猿4399</div>
    <ul>
      <li><a href="index_two.html" class="active">首页</a></li>
      <li><a href="zhenxing.html">部落阵型</a></li>
      <li><a href="jiaocheng.html">部落教程</a></li>
      <li><a href="heimingdan.html">部落黑名单</a></li>
      <li><a href="jiaoyi.html">交易</a></li>
      <li><a href="shequ.html">社区</a></li>
    </ul>
  </nav>
  <div class="main-content">
    <h1>欢迎来到程序猿4399</h1>
    <p>这里是部落冲突爱好者的聚集地，提供阵型分享、教程攻略、黑名单曝光、交易信息和社区互动。</p>
    <div class="join-community">
      <p>加入我们的交流群，和更多玩家一起交流！</p>
      <button class="join-btn" onclick="window.open('https://qm.qq.com/cgi-bin/qm/qr?k=xxxxxxx', '_blank')">加入群聊</button>
    </div>
  </div>
</body>
</html>
